From b496644a2b007274b9aeb060a556b9993ab529d2 Mon Sep 17 00:00:00 2001 From: Ewan Mellor Date: Tue, 28 Nov 2006 18:41:42 +0000 Subject: [PATCH] A trivial fix. login_unconditionally needs to be called with self.login_unconditionally to avoid "global name 'login_unconditionally' is not defined" Signed-off-by: Stefan Berger --- tools/python/xen/xend/XendAuthSessions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/XendAuthSessions.py b/tools/python/xen/xend/XendAuthSessions.py index 616724b96b..4081177597 100644 --- a/tools/python/xen/xend/XendAuthSessions.py +++ b/tools/python/xen/xend/XendAuthSessions.py @@ -55,7 +55,7 @@ class XendAuthSessions: @return: Session UUID """ if self.is_authorized(username, password): - return login_unconditionally(username) + return self.login_unconditionally(username) raise XendError("Login failed") -- 2.30.2